package com.example.config;


import com.example.User;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.annotation.Inject;

/**
 * 注解注入
 * @author xurongbei
 */
@Configuration
public class Config {

    @Inject("${classpath:user.yml}")
    private User user;
}
